﻿<%@ Page language="c#" Codebehind="Client.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.CM.Client" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="author" content="Herry" />
<meta name="Copyright" content="Copyright (c) 2009 himm.cn" />
<title>客户表单</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="/css/other.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/css/table.css" />
<script language="JavaScript" src="/Css/meizzDate.js"></script>
<script>
function displaypenal()
{
	if(document.Client.cbx_customer.checked)
		penal.style.display="";
	else
		penal.style.display="none";

}
</script>
</head>
<body>
<form id="Client" method="post" encType="multipart/form-data" runat="server">
  <div class="m">
    <div class="path"><a href="/SubModule/UnitiveDocument/Desktop.aspx">我的桌面</a> >> 客户表单</div>
    <div class="con">
      <table id="Table2" bordercolor="#93bee2" border="1">
        <tr>
          <td style="width:90px;" bgcolor="#e8f4ff">客户编号</td>
          <td class="tl"><asp:literal id="ltl_ID" runat="server"></asp:literal></td>
          <td style="width:90px;" bgcolor="#e8f4ff">添加日期</td>
          <td class="tl"><asp:textbox id="tbx_Birthday" runat="server" cssclass="inputcss" width="250px" readonly="True"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">客户名称</td>
          <td class="tl"><asp:textbox id="tbx_Name" runat="server" cssclass="inputcss" width="250px"></asp:textbox><asp:customvalidator id="CustomValidator1" runat="server" controltovalidate="tbx_Name" errormessage="客户名称重复" enableclientscript="False"></asp:customvalidator><asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" controltovalidate="tbx_Name" errormessage="客户名称不能为空" display="Dynamic"></asp:requiredfieldvalidator></td>
          <td bgcolor="#e8f4ff">客户简称</td>
          <td class="tl"><asp:textbox id="tbx_ShortName" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">客户分类</td>
          <td class="tl"><asp:checkbox id="cbx_zhongduan" runat="server" text="终端客户"></asp:checkbox>
            <asp:checkbox id="cbx_qudao" runat="server" text="渠道商"></asp:checkbox>
            <asp:checkbox id="cbx_shehui" runat="server" text="社会关系"></asp:checkbox>
            <asp:checkbox id="cbx_meiti" runat="server" text="媒体公关"></asp:checkbox></td>
          <td bgcolor="#e8f4ff">更新时间</td>
          <td class="tl"><asp:textbox id="tbx_UpdateTime" runat="server" cssclass="inputcss" width="250px" readonly="True"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">主要联系人</td>
          <td class="tl"><asp:hyperlink id="hlk_Chiefman" runat="server"></asp:hyperlink>
            <input class="redbuttoncss" onclick='<%="window.open("+"\"ClientLinkmanList.aspx?ClientID="+clientid.ToString()+"\");"%>' type=button value="查看全部"></td>
          <td bgcolor="#e8f4ff">职务</td>
          <td class="tl"><asp:label id="lbl_position" runat="server"></asp:label></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">联系电话</td>
          <td class="tl"><asp:label id="lbl_chieftel" runat="server"></asp:label></td>
          <td bgcolor="#e8f4ff">隶属区域</td>
          <td class="tl"><asp:textbox id="tbx_affiliatedarea" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">添加人员</td>
          <td class="tl"><asp:literal id="ltl_AddManName" runat="server"></asp:literal>
            <asp:panel id="pnl_Leader" runat="server" width="273px">
              <asp:dropdownlist id="ddl_AddMan" runat="server"></asp:dropdownlist>
              <asp:button id="btn_LookTel" runat="server" cssclass="redbuttoncss" text="查看联系电话"></asp:button>
              <asp:button id="btn_ChangeAddMan" runat="server" cssclass="redbuttoncss" text="修改"></asp:button>
              </asp:panel></td>
          <td bgcolor="#e8f4ff">联系电话</td>
          <td class="tl"><asp:literal id="ltl_addmantel" runat="server"></asp:literal></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">企业网址</td>
          <td class="tl"><asp:textbox id="tbx_URL" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
          <td bgcolor="#e8f4ff">邮政编码</td>
          <td class="tl"><asp:textbox id="tbx_zip" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">企业地址</td>
          <td class="tl" colspan="3"><asp:textbox id="tbx_address" runat="server" cssclass="inputcss" width="645px"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">企业性质</td>
          <td class="tl"><asp:checkbox id="cbx_government" runat="server" text="政府"></asp:checkbox>
            <asp:checkbox id="cbx_stateowned" runat="server" text="国营"></asp:checkbox>
            <asp:checkbox id="cbx_private" runat="server" text="民营"></asp:checkbox>
            <asp:checkbox id="cbx_foreign" runat="server" text="外资"></asp:checkbox>
            <asp:checkbox id="cbx_market" runat="server" text="上市"></asp:checkbox></td>
          <td bgcolor="#e8f4ff">注册资本</td>
          <td class="tl"><asp:textbox id="tbx_money" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">所处行业</td>
          <td colspan="3" class="tl"><asp:checkbox id="cbx_realestate" runat="server" text="房地产"></asp:checkbox>
            <asp:checkbox id="cbx_IT" runat="server" text="IT"></asp:checkbox>
            <asp:checkbox id="cbx_business" runat="server" text="商业贸易"></asp:checkbox>
            <asp:checkbox id="cbx_telecom" runat="server" text="电信"></asp:checkbox>
            <asp:checkbox id="cbx_post" runat="server" text="邮政通讯"></asp:checkbox>
            <asp:checkbox id="cbx_consultation" runat="server" text="咨询服务"></asp:checkbox>
            <asp:checkbox id="cbx_travel" runat="server" text="旅游业"></asp:checkbox>
            <asp:checkbox id="cbx_bus" runat="server" text="交通运输"></asp:checkbox>
            <br>
            <asp:checkbox id="cbx_stock" runat="server" text="金融证券"></asp:checkbox>
            <asp:checkbox id="cbx_insurance" runat="server" text="保险业"></asp:checkbox>
            <asp:checkbox id="cbx_tax" runat="server" text="税务"></asp:checkbox>
            <asp:checkbox id="cbx_make" runat="server" text="制造业"></asp:checkbox>
            <asp:checkbox id="cbx_electric" runat="server" text="家电"></asp:checkbox>
            <asp:checkbox id="cbx_clothe" runat="server" text="服装"></asp:checkbox>
            <asp:checkbox id="cbx_food" runat="server" text="食品"></asp:checkbox>
            <asp:checkbox id="cbx_medicine" runat="server" text="医药"></asp:checkbox>
            <asp:checkbox id="cbx_mechanism" runat="server" text="机械"></asp:checkbox>
            <asp:checkbox id="cbx_auto" runat="server" text="汽车制造"></asp:checkbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">公司规模</td>
          <td class="tl"><asp:textbox id="tbx_staffnumber" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
          <td bgcolor="#e8f4ff">主营业务</td>
          <td class="tl"><asp:textbox id="tbx_operation" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#e8f4ff">企业简介</td>
          <td colspan="3" class="tl"><asp:textbox id="tbx_introduce" runat="server" CssClass="inputcss" width="645px" textmode="MultiLine"></asp:textbox>
            <br>
            附件：
            <input class="inputcss" id="File1" style="WIDTH: 600px; HEIGHT: 19px" type="file" size="58" name="File1" runat="server">
            <br>
            <asp:repeater id="rpt_Attachment" runat="server">
              <itemtemplate> <a href='<%# Request.Path.Substring(0,Request.Path.LastIndexOf("/"))+"\\Attachment\\"+DataBinder.Eval(Container.DataItem,"ID")+DataBinder.Eval(Container.DataItem,"Extension") %>' target=_blank> <%# DataBinder.Eval(Container.DataItem,"Path")+"," %> </a> </itemtemplate>
            </asp:repeater></td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#e8f4ff" height="40">信息化程度</td>
          <td colspan="3"  class="tl"><asp:textbox id="tbx_IT" runat="server" CssClass="inputcss"  width="645px" textmode="MultiLine"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">电脑数量</td>
          <td class="tl"><asp:textbox id="tbx_pcnumber" runat="server" cssclass="inputcss" width="250px"></asp:textbox>
            台
            <asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" controltovalidate="tbx_pcnumber" errormessage="请输入数字"
							display="Dynamic"></asp:requiredfieldvalidator>
            <asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" controltovalidate="tbx_pcnumber"
							validationexpression="\d*">请输入数字</asp:regularexpressionvalidator></td>
          <td bgcolor="#e8f4ff">网络状况</td>
          <td class="tl"><asp:checkbox id="cbx_internet" runat="server" text="互联网"></asp:checkbox>
            <asp:checkbox id="cbx_WAN" runat="server" text="WAN"></asp:checkbox>
            <asp:checkbox id="cbx_LAN" runat="server" text="LAN"></asp:checkbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">专业IT人员</td>
          <td class="tl"><asp:textbox id="tbx_ITStaffs" runat="server" cssclass="inputcss" width="250px"></asp:textbox>
            人
            <asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" controltovalidate="tbx_ITStaffs" errormessage="请输入数字"
							display="Dynamic"></asp:requiredfieldvalidator>
            <asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" controltovalidate="tbx_ITStaffs"
							validationexpression="\d*">请输入数字</asp:regularexpressionvalidator></td>
          <td class="tl"></td>
          <td class="tl"></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">IT部门名称</td>
          <td class="tl"><asp:textbox id="tbx_ITdepartment" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
          <td bgcolor="#e8f4ff">负责人</td>
          <td class="tl"><asp:textbox id="tbx_principal" runat="server" cssclass="inputcss" width="250px"></asp:textbox></td>
        </tr>
        <tr>
          <td valign="top" bgcolor="#e8f4ff">目前系统</td>
          <td colspan="3" class="tl"><asp:textbox id="tbx_system" runat="server" CssClass="inputcss"  width="645px" textmode="MultiLine"></asp:textbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">客户来源</td>
          <td class="tl" colspan="3"><asp:checkbox id="cbx_sellman" runat="server" text="销售主动联系"></asp:checkbox>
            <asp:checkbox id="cbx_just" runat="server" text="以前认识"></asp:checkbox>
            <asp:checkbox id="cbx_introduce" runat="server" text="熟人介绍"></asp:checkbox>
            <asp:checkbox id="cbx_customer" runat="server" text="客户主动联系" autopostback="True"></asp:checkbox></td>
        </tr>
        <tr>
          <td bgcolor="#e8f4ff">客户主动</td>
          <td class="tl" colspan="3"><asp:panel id="penal" runat="server" cssclass="inputcss" width="563px" visible="False">
              <asp:checkbox id="cbx_Email" runat="server" text="电子邮件"></asp:checkbox>
              <asp:checkbox id="cbx_media" runat="server" text="媒体宣传"></asp:checkbox>
              <asp:checkbox id="cbx_Web" runat="server" text="查询网站"></asp:checkbox>
              <asp:checkbox id="cbx_proseminar" runat="server" text="研讨会"></asp:checkbox>
              <asp:checkbox id="cbx_exhibition" runat="server" text="展览会"></asp:checkbox>
              <asp:checkbox id="cbx_EMS" runat="server" text="直邮"></asp:checkbox>
              </asp:panel></td>
        </tr>
        <tr>
          <td align="center" colspan="4"><asp:panel id="pnl_MyCustom" runat="server" width="260px">
              <asp:button id="btn_OK" runat="server" width="70px" cssclass="buttoncss" text=" 确 定 "></asp:button>
              <asp:button id="btn_AddContact" runat="server" cssclass="buttoncss" text="添加接触"></asp:button>
              </asp:panel>
            <asp:panel id="pnl_Leader1" runat="server" width="175px" visible="False">
              <asp:button id="btn_LookContact" runat="server" cssclass="buttoncss" text="查看接触"></asp:button>
              </asp:panel></td>
        </tr>
      </table>
      <p>
        <asp:label id="lbl_Message" runat="server" Width="92px" Visible="False"></asp:label>
        <A href="javascript:window.close();">关闭窗口</A></p>
    </div>
  </div>
</form>
</body>
</html>
